import request from '@/router/axios'

export function addText (query) {
  return request({
    url: '/admin/set/addRule',
    method: 'post',
    data: query
  })
}


export function getText (id) {
  return request({
    url: '/admin/set/getRule',
    method: 'get',
    params: {id:id}
  })
}
